﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;

namespace Vaffanculo.Data.Interfaces
{
    /// <summary>
    /// DbContext Interface defines the base
    /// functionality for use differents Context to model/database.
    /// </summary>
    public interface IDbContext : IDisposable
    {
        IDbSet<TEntity> Set<TEntity>() where TEntity : class;
        int SaveChanges();
    }
}
